<h3 class="titre">Les derniers avis des gourmets</h3>
<div class="block" style="width:280px;font-size: 14px">
    <?php foreach($listComments as $comment): ?>
        <p class="linkrestaurant">
           
        <a href="<?php echo url_for('show_restaurant', array('id' => $comment->getIdrestaurant(), 'namerestaurant' => strtolower($comment->getHalalmenuRestaurant()))).'.html' ?>">
        <?php echo strtoupper($comment->getHalalmenuRestaurant()) ?></a>
        </p>
        <p style="text-align:right;font-style: italic;">
                    <?php $date = new DateTime($comment->getCreatedAt()); ?>
        <span> Par Saidi A. le</span>&nbsp;  <?php  echo $date->format('d/m/Y'); ?>
        </p>
        <p style="font-style: italic"><?php echo $comment->getComment(); ?></p>
        <br/>
    <?php endforeach;?>
</div>